#ifndef ALERTLIST_H
#define ALERTLIST_H
#include "alert.h"
#include <vector>

using namespace std;
class AlertList
{
private:
    vector<Alert> alertList;
public:
    AlertList();
    void addAlert(Alert alert);
    void deleteAlert(Alert alert);//recordID
    void modifyAlert(Alert oldalert,Alert newalert);
    void clearList();
    void printList();
    int size();
    void operator =(AlertList alertList);
    Alert operator[](int);
    //vector<Alert> searchAlert(string input, string category, string field,
                                //QDateTime fromTime, QDateTime toTime, double
                                //fromPrice, double toPrice);
    vector<Alert> getAlertList();
};

#endif // ALERTLIST_H
